//
//  SACustomerDetailModel.m
//  SAP
//
//  Created by 中矿科技有限公司 on 17/9/16.
//  Copyright © 2017年 中矿科技有限公司. All rights reserved.
//

#import "SACustomerDetailModel.h"

@implementation SACustomerDetailModel

+(SACustomerDetailModel *)getCustomerDetailfromData:(NSData *)data{
    NSDictionary *dict =[NSJSONSerialization JSONObjectWithData:data options:NSJSONReadingMutableContainers error:nil];
    SACustomerDetailModel *model =[[SACustomerDetailModel alloc]init];
    if (![dict[@"result"] isKindOfClass:[NSDictionary class]]) {
        return model;
    }
    
    model =[SACustomerDetailModel mj_objectWithKeyValues:dict[@"result"]];
    
    
    return model;
}

+ (NSDictionary *)mj_replacedKeyFromPropertyName
{
    return @{
             @"Id" : @"id",
             };
}



@end
